package com.zzyl.nursing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.nursing.domain.FamilyMemberElder;
import com.zzyl.nursing.vo.FamilyElderVo;
import com.zzyl.nursing.vo.FamilyMemberElderVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FamilyMemberElderMapper extends BaseMapper<FamilyMemberElder> {

    /**
     * 查询所有家人信息
     * @return
     */
    List<FamilyMemberElderVo> selectFamilyMemberList();

    /**
     * 分页查询
     * @return
     */
    List<FamilyElderVo> listByPage( Long familyMemberId);
}
